package routers

import (
	"ginvueadmin/controllers"
	"ginvueadmin/middleware"

	"github.com/gin-gonic/gin"
)

func MenuRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	mr := Router.Group("menu").Use(middleware.JWTAuth())
	{
		mr.POST("getMenu", controllers.GetMenu)
	}

	return mr
}
